<include file="Public/head" />
<div id="save_this_div" class="saveFlyout" style="z-index: 1000; display:none" onmouseover="savesSetMouseOver(true)" onmouseout="savesSetMouseOver(false)">
    <div class="saveToMenu">
        <div class="saveShell" style="display:block;">
            <div class="savePoint" id="savePoint"></div>
            <div class="saveBg">
                <div id="save_this_div_title" class="saveTop">Save to:</div>
                <div id="save_this_div_folders" class="saveBody">
                    <!-- To be filled dynamically --></div>
                <div id="save_this_div_new_folder" style="z-index: 1000; display:none;">
                    <form action="" style="margin:0" id="savesNewFolderForm" onsubmit="savesWidgetCreate(document.getElementById(&#39;savesWidgetNewFolder&#39;).value); return false;">
                        <div>
                            <input class="text" name="NewFolder" id="savesWidgetNewFolder" type="text" maxlength="20" style="width:145px;"></div>
                        <div class="action">
                            <div class="button">
                                <span onclick="$(&#39;savesNewFolderForm&#39;).onsubmit(); return false;">保存</span></div>
                            <div class="cancel">
                                <span class="taLnk" onclick="toggleCreateFolder(false); return false;">取消</span></div>
                            <div style="clear:both"></div>
                        </div>
                    </form>
                </div>
                <div id="save_this_div_loading" style="z-index: 1000; display:none;">
                    <div class="saving">Saving... please wait.</div></div>
                <div id="save_this_div_confirmation" style="z-index: 1000; display:none;" onmouseout="trackMouseConfirmation(event)" onmouseover="trackMouseConfirmation(event)">
                    <div class="saving">
                        <span id="save_this_div_confirmation_name"></span>has been saved to your
                        <strong>
                            <span id="save_this_div_confirmation_folder"></span></strong>folder.
                        <div class="saveBottomGo">Go to
                            <a id="save_this_div_confirmation_link" href="https://www.tripadvisor.cn/TripMallBooking?product=DFB_0519500&package=1474943505&partner=WOQU&agebands=92676538:1,94631196:0&month=10&year=2016&day=22#">My Trips</a></div>
                        <div id="orbitzConfirm" style="display:none"></div>
                        <div class="saveClose">
                            <span class="taLnk" onclick="hideItem(&#39;save_this_div&#39;); return false;">close</span></div>
                    </div>
                </div>
                <div id="save_this_div_dup" style="z-index: 1000; display:none">
                    <div class="saving">
                        <span id="save_this_div_dup_name"></span>already exists in your
                        <strong>
                            <span id="save_this_div_dup_folder"></span></strong>folder.
                        <div class="saveClose">
                            <span class="taLnk" onclick="hideItem(&#39;save_this_div&#39;); return false;">close</span></div>
                    </div>
                </div>
                <div id="save_this_div_folder_error" style="z-index: 1000; display:none;">
                    <div class="saving">A folder already exists with this name.
                        <div class="saveClose">
                            <span class="taLnk" onclick="hideItem(&#39;save_this_div&#39;); return false;">close</span></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="iframediv"></div>
<!--/ HEAD-->
<div class="tripmallBookMain">
    <form action="{:U('User/Orders/alipayApi')}" method="post">
        <div id="bookForms" class="bookForms">
            <div class="contactsForm">
                <div class="bookFormTitle">确认订单信息</div>
                <div id="singleContactForm" class="singleContactForm" data-contact-id="-1">
                    <div id="contactFormNameRow" class="contactFormTextRow contactFormNameRow">
                        <label>昵称：</label>
                        <input type="text" id="nickname" name="contactName" placeholder="请填写昵称" value="{$userinfo.nickname}"></div>
                    <div id="contactFormPhoneRow" class="contactFormTextRow">
                        <label>手机号码：</label>
                        <input type="text" id="mobile" name="contactPhoneNumber" placeholder="用于接收确认短信" value="{$userinfo.mobile}"></div>
                    <div id="contactFormEmailRow" class="contactFormTextRow">
                        <label>邮箱地址：</label>
                        <input type="text" id="email" name="contactEmail" placeholder="用于接收确认邮件" value="{$userinfo.email}">
                    </div>
                </div>
            </div>
        </div>
        <div id="bookProductSummary" class="bookProductSummary" style="margin-top: 0px;">
            <div class="productSummary">
                <eq name="order.type" value="0">
                    <div id="bookProductName" class="bookProductName">{$details.hotel}</div>
                    <div class="bookProductRow">
                        <span class="bookProductRowName">房型：</span>
                        <span class="bookProductRowContent">{$details.roomtype}</span></div>
                    <div class="bookProductRow">
                        <span class="bookProductRowName">入住：</span>
                        <span class="bookProductRowContent">{$details.checkin|date="Y-m-d",###}</span></div>
                    <div class="bookProductRow">
                        <span class="bookProductRowName">退房：</span>
                        <span class="bookProductRowContent">{$details.checkout|date="Y-m-d",###}</span>
                    </div>
                <else />
                    <div id="bookProductName" class="bookProductName">{$details.senic}</div>
                    <div class="bookProductRow">
                        <span class="bookProductRowName">日期：</span>
                        <span class="bookProductRowContent">{$details.day|date="Y-m-d",###}</span></div>
                    <div class="bookProductRow">
                        <span class="bookProductRowName">人数：</span>
                        <span class="bookProductRowContent">成人 x {$details.adult_nums}</span>
                        <span class="bookProductRowContent">儿童 x {$details.child_nums}</span>
                    </div>
                </eq>
            </div>
            <div class="bookProductPrice">
                <div class="priceLabel">总价：</div>
                <div id="price" class="price">￥{$order.price}</div>
            </div>
            <div class="bookButtonWrapper">
                <input type="hidden" name="WIDout_trade_no" value="{$order.oid}" />
                <eq name="order.type" value="0">
                    <input type="hidden" name="WIDsubject" value="{$details.hotel}{$details.roomtype}" />
                <else />
                    <input type="hidden" name="WIDsubject" value="{$details.senic}" />
                </eq>
                <input type="hidden" name="WIDtotal_fee" value="{$order.price}" />
                <input type="hidden" name="WIDbody" value="" />
                <input type="submit" class="bookButton" value="去支付" />
            </div>
        </div>
    </form>
</div>
<script type="text/javascript">ta.queueForLoad(function() {
        ta.run('ta.TripMall.desktopBooking.init', {},
        'woqu', 'DFB_0519500', '1474943505', '2016-10-22', '1', 'EE4C623FACB426F6E9B567672BECBBF1');
    },
    'Initialize ta.TripMall.desktopBooking.');
</script>
<script type="text/javascript">var _hmt = _hmt || []; (function() {
        var tongji = function() {
            var hm = document.createElement("script");
            hm.src = "//hm.baidu.com/hm.js?2947ca2c006be346c7a024ce1ad9c24a";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        };
        if (ta && ta.queueForLoad) {
            ta.queueForLoad(tongji);
        } else if (ta && ta.m && ta.m.queue) {
            ta.m.queue.add(tongji);
        }
    })();
</script>
<script type="text/javascript">(function() {
        var code = function() {
            var bp = document.createElement('script');
            var curProtocol = window.location.protocol.split(':')[0];
            if (curProtocol === 'https') {
                bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
            } else {
                bp.src = 'http://push.zhanzhang.baidu.com/push.js';
            }
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(bp, s);
        };
        if (ta && ta.queueForLoad) {
            ta.queueForLoad(code);
        } else if (ta && ta.m && ta.m.queue) {
            ta.m.queue.add(code);
        }
    })();
</script>
<script>window.addEvent('domready',
    function() {
        var wechatLightBox = Cookie.read('addwexinlightbox');
        if (wechatLightBox) {
            new Asset.image("https://cc.ddcdn.com/ddimg/sns/addwechat2.png", {
                onload: function() {
                    ta.overlays.showInLightbox('<div style="width:513px;overflow:hidden;"><img src="https://cc.ddcdn.com/ddimg/sns/addwechat2.png"></div>', {
                        innerDivClass: "popup_inner",
                        onClose: function() {
                            Cookie.dispose('addwexinlightbox', {
                                domain: cookieDomain
                            });
                        }
                    });
                }
            });
        }
    });
</script>
<script type="text/javascript">ta.remove('metaCheckRatesFeatureEnabled');</script>
<!-- Qualaroo for tripadvisor.cn -->
<script type="text/javascript">var _kiq = _kiq || [];
    ta.queueForLoad(function() {
        var d = document,
        f = d.getElementsByTagName('script')[0],
        s = d.createElement('script');
        s.type = 'text/javascript';
        s.async = true;
        s.src = '//s3.amazonaws.com/ki.js/56719/e2_.js';
        f.parentNode.insertBefore(s, f);
    });</script>
<script type="text/javascript" src="__PUBLIC__/User/js/tripmall_book-v3983161412c.js"></script>
<div id="IP_IFRAME_HOLDER"></div>
<include file="Public/footer" />